package com.cool.mapper.sysmanagemapper;

import com.cool.po.sysmanagepo.DdRoleMenu;

public interface DdRoleMenuMapper {
    /**
     * delete by primary key
     * @param roleMenuId primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer roleMenuId);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(DdRoleMenu record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(DdRoleMenu record);

    /**
     * select by primary key
     * @param roleMenuId primary key
     * @return object by primary key
     */
    DdRoleMenu selectByPrimaryKey(Integer roleMenuId);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(DdRoleMenu record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(DdRoleMenu record);

    Integer deleteByRoleId(Integer roled);
}